package com.example.exercise.sys.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.sys.vo.SysInterfaceVisitVO;
import com.example.exercise.sys.dao.entity.SysInterfaceVisitEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
*/
public interface SysInterfaceVisitDAO {

    List<SysInterfaceVisitEntity> findByWhere(Page<?> page, @Param("param") SysInterfaceVisitVO sysInterfaceVisitVO);

    SysInterfaceVisitEntity findByKey(@Param("param") SysInterfaceVisitVO sysInterfaceVisitVO);

    int insert(@Param("param") SysInterfaceVisitEntity sysInterfaceVisitEntity);

    int updateByKey(@Param("param") SysInterfaceVisitEntity sysInterfaceVisitEntity);

    int deleteByKey(@Param("param") SysInterfaceVisitVO sysInterfaceVisitVO);

}